package com.sskj.fabi.bean;

import com.sskj.common.util.NumberUtil;

/**
 * 发布信息模型
 */
public class PublishBean {

    /**
     * createTime : 2018-11-28T06:23:30.729Z
     * dealsNum : 0
     * entrustNo : string
     * fee : 0
     * id : 0
     * isDeleted : false
     * maxPrice : 0
     * minPrice : 0
     * payType : string
     * price : 0
     * remarkInfo : string
     * status : string
     * stockCode : string
     * stockUserId : 0
     * timestamp : 2018-11-28T06:23:30.729Z
     * totalPrice : 0
     * transNum : 0
     */

    private String createTime;
    private String dealsNum;
    private String entrustNo;
    private String fee;
    private int id;
    private boolean isDeleted;
    private String maxPrice;
    private String minPrice;
    private String payType;
    private String price;
    private String remarkInfo;
    private String status;
    private String stockCode;
    private int stockUserId;
    private String timestamp;
    private String totalPrice;
    private String transNum;
    private String tradeType;

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getDealsNum() {
        return NumberUtil.keepMax4(dealsNum);
    }

    public void setDealsNum(String dealsNum) {
        this.dealsNum = dealsNum;
    }

    public String getEntrustNo() {
        return entrustNo;
    }

    public void setEntrustNo(String entrustNo) {
        this.entrustNo = entrustNo;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean isDeleted() {
        return isDeleted;
    }

    public void setDeleted(boolean deleted) {
        isDeleted = deleted;
    }

    public String getMaxPrice() {
        return NumberUtil.keepMax2(maxPrice);
    }

    public void setMaxPrice(String maxPrice) {
        this.maxPrice = maxPrice;
    }

    public String getMinPrice() {
        return NumberUtil.keepMax2(minPrice);
    }

    public void setMinPrice(String minPrice) {
        this.minPrice = minPrice;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getPrice() {
        return NumberUtil.keepMax2(price);
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getRemarkInfo() {
        return remarkInfo;
    }

    public void setRemarkInfo(String remarkInfo) {
        this.remarkInfo = remarkInfo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStockCode() {
        return stockCode;
    }

    public void setStockCode(String stockCode) {
        this.stockCode = stockCode;
    }

    public int getStockUserId() {
        return stockUserId;
    }

    public void setStockUserId(int stockUserId) {
        this.stockUserId = stockUserId;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getTotalPrice() {
        return NumberUtil.keepMax2(totalPrice);
    }

    public void setTotalPrice(String totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getTransNum() {
        return NumberUtil.keepMax4(transNum);
    }

    public void setTransNum(String transNum) {
        this.transNum = transNum;
    }
}
